﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace ASPNET.StarterKit.BusinessLogicLayer
{
    /// <summary>
    /// Summary description for Customer
    /// </summary>
    public class Customer
    {

        //private int _CustID;
        private string _CustName;
        private string _CustAddr1;
        private string _CustAddr2;
        private string _CustAddr3;
        private string _CustCity;
        private string _CustState;
        private string _CustCountry;
        private string _CustPhone;
        private string _CustMobile;
        private string _CustFax;
        private string _CustEmail;
        private string _CustZipCode;
        private string _CustLeadTime;
        private string _CustStatus;


        public Customer(
           //  int CustID,
         string CustName,
         string CustAddr1,
         string CustAddr2,
         string CustAddr3,
         string CustCity,
         string CustState,
         string CustCountry,
         string CustPhone,
         string CustMobile,
         string CustFax,
         string CustEmail,
         string CustZipCode,
         string CustLeadTime,
         string CustStatus

            )
        {
           
   //_CustID=CustID;
        _CustName=CustName;
         _CustAddr1=CustAddr1;
         _CustAddr2=CustAddr2;
         _CustAddr3=CustAddr3;
         _CustCity=CustCity;
         _CustState=CustState;
         _CustCountry=CustCountry;
         _CustPhone=CustPhone;
         _CustMobile=CustMobile;
         _CustFax=CustFax;
         _CustEmail=CustEmail;
         _CustZipCode=CustZipCode;
         _CustLeadTime=CustLeadTime;
         _CustStatus=CustStatus;


        }

        //public int CustID
        //{
        //    get
        //    {

        //        return _CustID;

        //    }

        //}
        public string CustName
        {
            get
            {
                if (String.IsNullOrEmpty(_CustName))
                {
                    return string.Empty;
                }
                return _CustName;

            }
            set
            {
                _CustName = value;
            }
        }
        public string CustAddr1
        {
            get
            {
                if (String.IsNullOrEmpty(_CustAddr1))
                {
                    return string.Empty;
                }
                return _CustAddr1;

            }
            set
            {
                _CustAddr1 = value;
            }
        }
        public string CustAddr2
        {
            get
            {
                if (String.IsNullOrEmpty(_CustAddr2))
                {
                    return string.Empty;
                }
                return _CustAddr2;

            }
            set
            {
                _CustAddr2 = value;
            }
        }
        public string CustAddr3
        {
            get
            {
                if (String.IsNullOrEmpty(_CustAddr3))
                {
                    return string.Empty;
                }
                return _CustAddr3;

            }
            set
            {
                _CustAddr3 = value;
            }
        }
        public string CustCity
        {
            get
            {
                if (String.IsNullOrEmpty(_CustCity))
                {
                    return string.Empty;
                }
                return _CustCity;

            }
            set
            {
                _CustCity = value;
            }
        }

        public string CustState
        {
            get
            {
                if (String.IsNullOrEmpty(_CustState))
                {
                    return string.Empty;
                }
                return _CustState;

            }
            set
            {
                _CustState = value;
            }
        }
        public string CustCountry
        {
            get
            {
                if (String.IsNullOrEmpty(_CustCountry))
                {
                    return string.Empty;
                }
                return _CustCountry;

            }
            set
            {
                _CustCountry = value;
            }
        }
        public string CustPhone
        {
            get
            {
                if (String.IsNullOrEmpty(_CustPhone))
                {
                    return string.Empty;
                }
                return _CustPhone;

            }
            set
            {
                _CustPhone = value;
            }
        }
        public string CustMobile
        {
            get
            {
                if (String.IsNullOrEmpty(_CustMobile))
                {
                    return string.Empty;
                }
                return _CustMobile;

            }
            set
            {
                _CustMobile = value;
            }
        }

        public string CustFax
        {
            get
            {
                if (String.IsNullOrEmpty(_CustFax))
                {
                    return string.Empty;
                }
                return _CustFax;

            }
            set
            {
                _CustFax = value;
            }
        }

        public string CustEmail
        {
            get
            {
                if (String.IsNullOrEmpty(_CustEmail))
                {
                    return string.Empty;
                }
                return _CustEmail;

            }
            set
            {
                _CustEmail = value;
            }
        }


        public string CustZipCode
        {
            get
            {
                if (String.IsNullOrEmpty(_CustZipCode))
                {
                    return string.Empty;
                }
                return _CustZipCode;

            }
            set
            {
                _CustZipCode = value;
            }
        }


        public string CustLeadTime
        {
            get
            {
                if (String.IsNullOrEmpty(_CustLeadTime))
                {
                    return string.Empty;
                }
                return _CustLeadTime;

            }
            set
            {
                _CustLeadTime = value;
            }
        }



        public string CustStatus
        {
            get
            {
                if (String.IsNullOrEmpty(_CustStatus))
                {
                    return string.Empty;
                }
                return _CustStatus;

            }
            set
            {
                _CustStatus = value;
            }
        }
    }
}